<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>P04_隐藏和显示.html</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <link rel="stylesheet" type="text/css" href="../css/bootstrap.css">
    <style>
        .row {
            border: 1px red dashed;
            margin: 10px 0;
        }

        .ca {
            border: 1px pink solid;
            background-color: lightblue;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="ca col-4 col-sm-2 col-md-5 col-lg-6 col-xl-12">第一列</div>
        <div class="ca col-3 col-sm-3 col-md-2 col-lg-3 col-xl-12">第二列</div>
        <div class="ca col-5 col-sm-7 col-md-5 col-lg-3 col-xl-12 d-none d-sm-block">第三列</div>
    </div>
</div>
<br>
<p class="d-none">d-none</p>
<p class="d-none d-sm-block">d-none d-sm-block</p>
<p class="d-sm-none">d-sm-none</p>
</body>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/bootstrap.min.js"></script>
</html>